package cqrtplm.dto;

import lombok.Data;
import com.alibaba.excel.annotation.ExcelProperty;
import org.apache.commons.lang3.StringUtils;


@Data
public class ImportProcessFileDTO {

    @ExcelProperty("文档类型")
    private String docType;

    @ExcelProperty("文档编码")
    private String docCode;

    @ExcelProperty("文档名称")
    private String docName;

    @ExcelProperty("文档格式")
    private String docFormat;

    @ExcelProperty("文件夹")
    private String folder;

    @ExcelProperty("开发令")
    private String devOrder;

    @ExcelProperty("机型集合")
    private String modelSet;

    @ExcelProperty("客户")
    private String customer;

    @ExcelProperty("工厂")
    private String factory;

    @ExcelProperty("使用线体")
    private String lineBody;

    @ExcelProperty("文件路径")
    private String filePath;

    @ExcelProperty("状态")
    private String status;

    public boolean isRowEmpty() {
        return (StringUtils.isNotBlank(this.docCode)
                &&StringUtils.isNotBlank(this.docName)
                &&StringUtils.isNotBlank(this.docType)
        );
    }
}
